function [bestScheduledTargets, bestScheduledPriorities, status] = GRASP_UpdateSolution(PQ, bestScheduledTargets, bestScheduledPriorities, scheduledTargets, scheduledPriorities)
%GRASP_UpdateSolution Summary of this function goes here
%   Detailed explanation goes here

fitnessBest = GRASP_Fitness(bestScheduledPriorities);
fitnessNew = GRASP_Fitness(scheduledPriorities);

if fitnessBest < fitnessNew
  bestScheduledTargets = scheduledTargets;
  bestScheduledPriorities = scheduledPriorities;
end

status = 1;
end